#include "HttpServer.hpp"
#include <memory>

std::string HandlerHttp(const std::string& request)
{
    // 到这，request一定是一个完整的http请求报文
    // 给别人返回http响应
    

}

int main()
{
    uint16_t port = 8888;

    std::cout << "Hello, Calculator server\n";
    std::unique_ptr<HttpServer> pts(new HttpServer(HandlerHttp, port));

    pts->InitServer();
    pts->Start();

    return 0;

}
